package com.example.tests;

import static org.hamcrest.Matchers.equalTo;
import static org.junit.Assert.assertThat;
import org.testng.annotations.*;
import com.example.utils.SortedListOf;

public class VeiwPrintContactsTests extends TestBase {

  @Test
  public void testVeiwPrintContacts() throws Exception {
	SortedListOf<ContactData> listOfContacts = app.getContactHelper().getContactsTable();
	SortedListOf<ContactData> listOfPrintContacts = app.getContactHelper().getPrintContacts();
	assertThat(listOfContacts, equalTo(listOfPrintContacts));
  }
}
